﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="addCustomUser.aspx.cs" Inherits="Users_accountAddCustomUser" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Stylesheet" Runat="Server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="SubNavigation" Runat="Server">
      <ul>
        <li class="first">
            <asp:HyperLink ID="lnkOverview" NavigateUrl="default.aspx" runat="server">Overview</asp:HyperLink>
        </li>
    </ul>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageHeader" Runat="Server">
    <asp:Label ID="lbUser" runat="server" Font-Size="X-Large" Text="Custom User"></asp:Label>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" Runat="Server">
    <table runat="server" id="tblLogin" style="text-align:left" align="left">
            <tr>
                <td>
                    User Name
                </td>
            </tr>
            <tr>
                <td height="25">
                    <asp:TextBox runat="server" CssClass = "textbox" ID="txtUserName"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ErrorMessage="(*)" ControlToValidate="txtUserName" ForeColor="Red" 
                        SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Choose a password
                </td>
            </tr>
            <tr>
                <td height="25">
                    <asp:TextBox runat="server" ID="txtChoosePass"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ErrorMessage="(*)" ControlToValidate="txtChoosePass" ForeColor="Red" 
                        SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Re-enter password
                </td>
            </tr>
            <tr>
                <td height="25">
                    <asp:TextBox runat="server" ID="txtRePass"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ErrorMessage="(*)" ControlToValidate="txtRePass" ForeColor="Red" 
                        SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ErrorMessage="Passwords do not match." ControlToCompare="txtChoosePass" 
                        ControlToValidate="txtRePass" ForeColor="Red" SetFocusOnError="True"></asp:CompareValidator>
                
                </td>
            </tr>
            <tr>
                <td height="30">
                    <asp:Button ID="btAddUser" runat="server" Text="Save" 
                        onclick="btAddUser_Click" /> &nbsp;or 
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="default.aspx">Cancel</asp:HyperLink>
                </td>
            </tr>
        </table>                
    <br />
    <br /> 
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="SideBar" Runat="Server">
</asp:Content>

